* {
    padding: 0;
    margin: 0;
}

.box {
    width: 1212px;
    height: 640px;
    border: 2px solid lightgray;
    margin: 100px auto;
    box-sizing: border-box;
    padding-left: 26px;
    padding-right: 26px;
    display: flex;
}

.shelves {
    height: 100%;
    flex: 1;
    border-left: 2px solid lightgray;
    display: flex;
    flex-wrap: wrap;
}

.gouwuche {
    width: 372px;
    height: 100%;
    border-left: 2px solid lightgray;
    border-right: 2px solid lightgray;
    box-sizing: border-box;
    padding: 2px;
    display: flex;
    flex-direction: column;
}
.gouwuche h3 {
    font-size: 25px;
}
.gouwuche .zongjia {
   height: 30px;
   width: 100%;
   color: white;
   background-color: darkorange;
   text-align: center;
   line-height: 30px;
}
.goods{
    flex: 1;
    overflow: scroll;
}
.gouwuche .good {
   margin-top: 40px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-shrink: 0;
}

.gouwuche .good img {
    width: 10%;
}
.gouwuche .good span {
    display: inline-block;
   
}
.gouwuche .good button {
    display: inline-block;
    
} 

figure {
    width: 24%;
    height: 50%;
    border: 2px solid lightgray;
    padding-bottom: 15px;
    box-sizing: border-box;

}

figure img {
    width: 100%;
}

figcaption {
    margin-left: 20px;
}

figure button {
    background-color: red;
    color: white;
    width: 102px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    border: none;
    cursor: pointer;
    margin-left: 20px;

}